<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/4/4
  Time: 16:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>





<form name ="dataForm" id="dataForm"  method="post"  enctype="multipart/form-data">
    <table class="tb" border="0" cellspacing="5" cellpadding="0">
        <thead>
        <tr><td align="center" colspan="2" class="text_tabledetail2">增加新闻</td></tr>
        </thead>
        <tbody>
        <tr>
            <td class="text_tabledetail2">分类</td>
            <td>
                <!-- 列出所有的新闻分类 -->
                <select name="categoryId">
                    <option value="1">国内</option>
                    <option value="2">国际</option>
                    <option value="3">娱乐</option>
                    <option value="4">军事</option>
                    <option value="5">财经</option>
                    <option value="6">天气</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="text_tabledetail2">序号</td>
            <td><input type="text" name="title" value=""/></td>
        </tr>
        <tr>
            <td class="text_tabledetail2">标号</td>
            <td><input type="text" name="author" value=""/></td>
        </tr>

        <tr>
            <td class="text_tabledetail2">标题</td>
            <td><textarea id="summary" name="summary" rows="8" cols="50"></textarea></td>
        </tr>

        <tr>
            <td class="text_tabledetail2">上传信息 </td>
            <td><input type="file" name="picPath" value=""/></td>
        </tr>
        <tr>
            <td style="text-align:center;" colspan="2">
                <button type="submit" class="page-btn" name="save">保存</button>
                <input type="hidden" name="id" value=""/>
                <button type="button" class="page-btn" name="return" onclick="javascript:location.href='news_detail.jsp'">返回</button>
            </td>
        </tr>
        </tbody>
    </table>
</form>
</body>
</html>
